// 存储登录状态
export function setLoggedIn(status) {
    localStorage.setItem('isLoggedIn', status);
}

// 获取登录状态
export function getLoggedIn() {
    return localStorage.getItem('isLoggedIn') === 'true';
}

// 清除登录状态
export function clearLoggedIn() {
    localStorage.removeItem('isLoggedIn');
}